package net.alpcontrol.bi.colligation.mapper;

import net.alpcontrol.bi.colligation.entity.HrmResource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 丛庆
 * @since 2020-09-29
 */
@DS("master")  //默认为master数据源
@Mapper
public interface HrmResourceMapper extends BaseMapper<HrmResource> {
    /**
     *
     * @param param
     * @return
     */
    List<Map> getEmpByName(Map param);

}
